package com.penghaisoft.microwms.product.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableMBeanExport;
import org.springframework.context.annotation.Import;
import org.springframework.jmx.support.RegistrationPolicy;

import com.github.tobato.fastdfs.FdfsClientConfig;
import com.penghaisoft.microwms.common.service.MesProperties;

/**
 * 成品web启动类
 * Created by zxcq0 on 2018/4/16.
 */
@ComponentScan({"com.penghaisoft"})
@Import(FdfsClientConfig.class)
@SpringBootApplication(scanBasePackages= {"com.penghaisoft.microwms"})
@EnableConfigurationProperties({MesProperties.class})
@EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING)
public class FileUploadWebApp {

    public static void main(String[] args) {
        SpringApplication.run(FileUploadWebApp.class, args);
    }
}
